/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.dp.vo;

import java.io.Serializable;

import javax.persistence.Basic;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.NamedQueries;
import javax.persistence.NamedQuery;
import javax.persistence.Table;

/**
 *
 * @author Administrator
 */
@Entity
@Table(name = "t_useragents")
//@NamedQueries({@NamedQuery(name = "TUseragents.findAll", query = "SELECT t FROM TUseragents t"), @NamedQuery(name = "TUseragents.findByUseragentid", query = "SELECT t FROM TUseragents t WHERE t.useragentid = :useragentid"), @NamedQuery(name = "TUseragents.findByEmployeeId", query = "SELECT t FROM TUseragents t WHERE t.employeeId = :employeeId"), @NamedQuery(name = "TUseragents.findByUseragent", query = "SELECT t FROM TUseragents t WHERE t.useragent = :useragent"), @NamedQuery(name = "TUseragents.findByDescription", query = "SELECT t FROM TUseragents t WHERE t.description = :description"), @NamedQuery(name = "TUseragents.findByStream", query = "SELECT t FROM TUseragents t WHERE t.stream = :stream"), @NamedQuery(name = "TUseragents.findByManufacturer", query = "SELECT t FROM TUseragents t WHERE t.manufacturer = :manufacturer"), @NamedQuery(name = "TUseragents.findByModel", query = "SELECT t FROM TUseragents t WHERE t.model = :model"), @NamedQuery(name = "TUseragents.findByStatus", query = "SELECT t FROM TUseragents t WHERE t.status = :status"), @NamedQuery(name = "TUseragents.findByEncoding", query = "SELECT t FROM TUseragents t WHERE t.encoding = :encoding"), @NamedQuery(name = "TUseragents.findByMediatype", query = "SELECT t FROM TUseragents t WHERE t.mediatype = :mediatype"), @NamedQuery(name = "TUseragents.findByDevicekey", query = "SELECT t FROM TUseragents t WHERE t.devicekey = :devicekey"), @NamedQuery(name = "TUseragents.findByScreenwidth", query = "SELECT t FROM TUseragents t WHERE t.screenwidth = :screenwidth"), @NamedQuery(name = "TUseragents.findByScreenheight", query = "SELECT t FROM TUseragents t WHERE t.screenheight = :screenheight"), @NamedQuery(name = "TUseragents.findByMemorysize", query = "SELECT t FROM TUseragents t WHERE t.memorysize = :memorysize"), @NamedQuery(name = "TUseragents.findByInstallguide", query = "SELECT t FROM TUseragents t WHERE t.installguide = :installguide"), @NamedQuery(name = "TUseragents.findBySupportedcontenttypes", query = "SELECT t FROM TUseragents t WHERE t.supportedcontenttypes = :supportedcontenttypes"), @NamedQuery(name = "TUseragents.findByIssue", query = "SELECT t FROM TUseragents t WHERE t.issue = :issue")})
public class TUseragents implements Serializable {
    private static final long serialVersionUID = 1L;
    @Id
    @Basic(optional = false)
    @Column(name = "useragentid")
    private String useragentid;
    @Column(name = "employee_id")
    private String employeeId;
    @Basic(optional = false)
    @Column(name = "useragent")
    private String useragent;
    @Column(name = "description")
    private String description;
    @Basic(optional = false)
    @Column(name = "stream")
    private String stream;
    @Column(name = "manufacturer")
    private String manufacturer;
    @Column(name = "model")
    private String model;
    @Column(name = "status")
    private String status;
    @Column(name = "encoding")
    private String encoding;
    @Column(name = "mediatype")
    private String mediatype;
    @Column(name = "devicekey")
    private String devicekey;
    @Basic(optional = false)
    @Column(name = "screenwidth")
    private int screenwidth;
    @Basic(optional = false)
    @Column(name = "screenheight")
    private int screenheight;
    @Basic(optional = false)
    @Column(name = "memorysize")
    private int memorysize;
    @Column(name = "installguide")
    private String installguide;
    @Column(name = "supportedcontenttypes")
    private String supportedcontenttypes;
    @Column(name = "issue")
    private String issue;

    public TUseragents() {
    }

    public TUseragents(String useragentid) {
        this.useragentid = useragentid;
    }

    public TUseragents(String useragentid, String useragent, String stream, int screenwidth, int screenheight, int memorysize) {
        this.useragentid = useragentid;
        this.useragent = useragent;
        this.stream = stream;
        this.screenwidth = screenwidth;
        this.screenheight = screenheight;
        this.memorysize = memorysize;
    }

    public String getUseragentid() {
        return useragentid;
    }

    public void setUseragentid(String useragentid) {
        this.useragentid = useragentid;
    }

    public String getEmployeeId() {
        return employeeId;
    }

    public void setEmployeeId(String employeeId) {
        this.employeeId = employeeId;
    }

    public String getUseragent() {
        return useragent;
    }

    public void setUseragent(String useragent) {
        this.useragent = useragent;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public String getStream() {
        return stream;
    }

    public void setStream(String stream) {
        this.stream = stream;
    }

    public String getManufacturer() {
        return manufacturer;
    }

    public void setManufacturer(String manufacturer) {
        this.manufacturer = manufacturer;
    }

    public String getModel() {
        return model;
    }

    public void setModel(String model) {
        this.model = model;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getEncoding() {
        return encoding;
    }

    public void setEncoding(String encoding) {
        this.encoding = encoding;
    }

    public String getMediatype() {
        return mediatype;
    }

    public void setMediatype(String mediatype) {
        this.mediatype = mediatype;
    }

    public String getDevicekey() {
        return devicekey;
    }

    public void setDevicekey(String devicekey) {
        this.devicekey = devicekey;
    }

    public int getScreenwidth() {
        return screenwidth;
    }

    public void setScreenwidth(int screenwidth) {
        this.screenwidth = screenwidth;
    }

    public int getScreenheight() {
        return screenheight;
    }

    public void setScreenheight(int screenheight) {
        this.screenheight = screenheight;
    }

    public int getMemorysize() {
        return memorysize;
    }

    public void setMemorysize(int memorysize) {
        this.memorysize = memorysize;
    }

    public String getInstallguide() {
        return installguide;
    }

    public void setInstallguide(String installguide) {
        this.installguide = installguide;
    }

    public String getSupportedcontenttypes() {
        return supportedcontenttypes;
    }

    public void setSupportedcontenttypes(String supportedcontenttypes) {
        this.supportedcontenttypes = supportedcontenttypes;
    }

    public String getIssue() {
        return issue;
    }

    public void setIssue(String issue) {
        this.issue = issue;
    }

    @Override
    public int hashCode() {
        int hash = 0;
        hash += (useragentid != null ? useragentid.hashCode() : 0);
        return hash;
    }

    @Override
    public boolean equals(Object object) {
        // TODO: Warning - this method won't work in the case the id fields are not set
        if (!(object instanceof TUseragents)) {
            return false;
        }
        TUseragents other = (TUseragents) object;
        if ((this.useragentid == null && other.useragentid != null) || (this.useragentid != null && !this.useragentid.equals(other.useragentid))) {
            return false;
        }
        return true;
    }

    @Override
    public String toString() {
        return "com.dp.vo.TUseragents[useragentid=" + useragentid + "]";
    }

}
